home *** CD-ROM | disk | FTP | other *** search
WinHex data structure template | 2005-05-02 | 996 b | 43 lines |
- template "Ext2/Ext3 Inode"
-
- // Template by Eoghan Casey
- // Created on 02/28/04.
-
- // Modified by Jens Kirschner
- // on 29 Sep 2004
-
- description "Contains a file's meta information (for Inode size 128 bytes)"
- applies_to disk
- multiple
-
- begin
- octal uint16 "File mode"
- uint16 "Owner uid"
- uint32 "Size in bytes (low 4 bytes)"
- UNIXDateTime "Access time"
- UNIXDateTime "Inode change"
- UNIXDateTime "Modification"
- UNIXDateTime "Deletion"
- uint16 "Group id"
- uint16 "Hard links count"
- uint32 "Sector count"
- uint32 "File flags"
- uint32 "OS dependent"
- numbering 1
- {
- uint32 "Direct block #~"
- } [12]
- uint32 "Indirect block"
- uint32 "Double indirect block"
- uint32 "Triple indirect block"
- uint32 "File version"
- uint32 "File ACL"
- uint32 "Size in bytes (high 4 bytes)"
- uint32 "Fragment address"
- uint8 "Fragment #"
- uint8 "Fragment size"
- uint16 "Padding"
- hex 4 "Reserved"
- goto 0
- move 128 // Change this for a different Inode size (128: default)
- end